package org.jeecg.modules.wlhy.hyvehicle.mapper;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wlhy.hyvehicle.entity.HyDriverVehicle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 司机车辆关系表
 * @Author: duanlikao
 * @Date:   2020-12-28
 * @Version: V1.0
 */
public interface HyDriverVehicleMapper extends BaseMapper<HyDriverVehicle> {

    HyDriverVehicle getInfoByDriverIdAndVehicleId(@Param("driverId")  String driverId,
                                                  @Param("vehicleId") String vehicleId);

    Boolean updateByVehicleId(@Param("vehicleId")  String vehicleId, @Param("izUsed")  String izUsed);
}
